package com.example.covid19.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BaiZhengChun
 * @since 2022-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("gstock")
@ApiModel(value="Gstock对象", description="")
public class Gstock implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ssid", type = IdType.AUTO)
    private Integer ssid;

    @ApiModelProperty(value = "商品名")
    private String goodsname;

    @ApiModelProperty(value = "产地")
    private String producingArea;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "保质期")
    private String quality;

    @ApiModelProperty(value = "种类")
    private String type;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "是否上架")
    private Integer isup;

    private String picid;


}
